home *** CD-ROM | disk | FTP | other *** search
- fscommand("allowscale","false");
- posX = Stage.width / 2;
- posY = Stage.height / 2;
- anzahl = 12;
- var i = 1;
- while(i < anzahl + 1)
- {
- attachMovie("Menu" + i,"Menu" + i,i);
- i++;
- }
- this.onEnterFrame = function()
- {
- var _loc2_ = this;
- mausPos += (_root._xmouse - posX) / 50;
- var _loc1_ = 1;
- while(_loc1_ < 13)
- {
- winkel = (mausPos + 30 * _loc1_) * 3.141592653589793 / 180;
- _loc2_["Menu" + _loc1_]._x = posX + Math.sin(- winkel) * 300;
- _loc2_["Menu" + _loc1_]._y = posY + Math.cos(- winkel) * 50;
- _loc2_["Menu" + _loc1_]._xscale = 100 + Math.cos(winkel) * 10;
- _loc2_["Menu" + _loc1_]._yscale = 100 + Math.cos(winkel) * 10;
- _loc2_["Menu" + _loc1_].swapDepths(1000 + Math.cos(winkel) * 100);
- _loc1_ = _loc1_ + 1;
- }
- };
- planet.swapDepths(1000);
-